package com.h3c.ptability.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: PtAllWorkerDTO
 *
 * @Author: l22886
 * @Date: 2022-03-14
 * Description: pt_all_worker dto实体
 * Version: 1.0
 */
@ApiModel(value="PtAllWorker对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PtAllWorkerDTO {


    private String workerId;

    @ApiModelProperty(value = "域账号")
    private String domainAccount;

    private String workerName;

    @ApiModelProperty(value = "拼音姓名")
    private String displayName;

    private Integer dept1id;

    private Integer dept2id;

    private Integer dept3id;

    private Integer dept4id;

    private Integer directDeptId;

    private String postType;

    private String postLevel;

    private String postTypeLevel;

    private String jobType;

    private String jobLevel;

    private String jobLevelName;

    private String jobTypeLevel;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date syncTime;

    private String email;

    private String phoneNo;

    @ApiModelProperty(value = "干部层级")
    private String leaderLevel;

    @ApiModelProperty(value = "入职日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date joinDate;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    private String lockFlag;

    @ApiModelProperty(value = "模拟账号的登录人域账号")
    private String lockAccount;

    /**
     * 排序字段 + 升序， -降序
     * 比如 +updateTime 根据 修改时间升序排序，-updateTime 根据 修改时间降序排序
     */
    private String orderBy;

    @ApiModelProperty(value = "员工状态：1 在职；2 离职")
    private Integer workerStatus;

    @ApiModelProperty(value = "员工类型：1 正式员工；2 合作员工")
    private Integer workerType;
}
